﻿/*
	Author : Zeus2
*/

using System;
using System.Collections.Generic;
using System.Text;

namespace HZ.DrugTrade.Model.View
{
    /// <summary>
    /// CompanyExportPuchaseOrderDetail
    /// </summary>
    [Serializable()]
    public class CompanyExportPuchaseOrderDetail
    {
        /// <summary>
        /// 
        /// </summary>
        public string ERPDrugID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string CProductName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string CMedicineModel { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string COutlookc { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Cpack { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string CCompanyName_SC { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double? PurchaseCount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string HospitalID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string HospitalName { get; set; }
        /// <summary>
        /// 采购单名称
        /// </summary>
        public string OrderName { get; set; }
        /// <summary>
        /// 采购结束时间
        /// </summary>
        public System.DateTime? PlanEndTime { get; set; }
        /// <summary>
        /// 采购开始时间
        /// </summary>
        public System.DateTime? PlanStartTime { get; set; }
        /// <summary>
        /// 企业ID
        /// </summary>
        public string CompanyID { get; set; }
    }
}


namespace HZ.DrugTrade.Model.Query
{
    /// <summary>
    /// CompanyExportPuchaseOrderDetail
    /// </summary>
    [Serializable()]
    public class CompanyExportPuchaseOrderDetail : IQuery
    {
        /// <summary>
        /// 
        /// </summary>
        public string ERPDrugID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string CProductName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string CMedicineModel { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string COutlookc { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Cpack { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string CCompanyName_SC { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double? PurchaseCount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string HospitalID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string HospitalName { get; set; }
        /// <summary>
        /// 采购单名称
        /// </summary>
        public string OrderName { get; set; }
        /// <summary>
        /// 采购结束时间
        /// </summary>
        public System.DateTime? PlanEndTime { get; set; }
        /// <summary>
        /// 采购开始时间
        /// </summary>
        public System.DateTime? PlanStartTimeFrom { get; set; }
        /// <summary>
        /// 采购开始时间
        /// </summary>
        public System.DateTime? PlanStartTimeTo { get; set; }
        /// <summary>
        /// 企业ID
        /// </summary>
        public string CompanyID { get; set; }

        /// <summary>
        /// 排序字段【格式如：UserID ASC,UserName DESC, IsAdmin ASC】
        /// </summary>
        public string SortFields { get; set; }

        /// <summary>
        /// 自定义查询字段[格式: UserID = '1234' AND Name = 'Zeus2' AND ID NOT (SELECT ID FROM XX)]
        /// </summary>
        public string Append { get; set; }
    }
}